home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
clang
/
tcclib.zip
/
README
< prev
next >
Wrap
Text File
|
1989-02-13
|
6KB
|
130 lines
TCCLIB Libraries for Turbo C (tm).
Thank you for downloading this library. I hope it will be useful
to you. I'm distributing it as shareware, so feel free to give
copies to all your programming buddies.
OK. So I'm lousy at documentation. But do take a minute to read this.
I always used to despise software makers (like Lotus) who had excellent
products, but documentation that was worse than nothing at all. Now
I'm not so down on them. At least most of these routines are very
self-explanatory.
ANYHOW, you need to read this introduction. It provides necessary
information to get you going with TCCLIB.
If you find this beneficial, please register by sending $20 to
Chris Collins
2824 Clyde Road
Highland, MI 48031
Registration will entitle you to (1) telephone support, (2) the next
two updates, (3) compact, medium, large and huge memory model versions
of the library, and (4) use of these routines for personal or commercial
applications without any further payment.
If you want to register and receive the source code, please send $50
to the above address. That price entitles you to the source code for
this and the next two updates.
Please send any suggestions or bug reports to the above address.
I will fix any bugs immediately! (I have tested these routines, and
I don't know of any problems). I am always eager to improve these
routines in any way possible. I expect to have two or three updates
in the near future, with more functions.
Also included are windowing routines written by Chuck Jazdzewski of
Borland International. They are very fast and powerful. I have
included them in a separate library, as well as included a separate
doc file and header file. I just didn't feel worthy to put my stuff
in with his.
/***********************************************************************
Header File
/***********************************************************************
The header file TCCLIB.H is supplied with the library. It should be
included in any source files that call any of these routines.
The header file WINDOW.H is also included for the windowing routines.
/***********************************************************************
Nomenclature
/***********************************************************************
You will notice right off that I do something very different from most
C programmers -- I capitalize the first letters of my functions and
significant words in the names. So rather than window_lister, I use
WindowLister. I personally think it is easier to read. If you hate my
guts for cramping your style, let me know and I'll take it into
consideration in future versions.
HOWEVER, the window routines use the normal all-lower-case names.
/***********************************************************************
Global variables
/***********************************************************************
The following are the global variables used by TCCLIB. You are always
free to change them to suit your tastes, especially if you have a color
monitor. I've never worked on anything but monochrome. I expect to
support lots more color and sound in future versions.
They are defined in the file GLOBALS.OBJ.
attrib this is the attribute that will be used for most
text output; initialized to 7.
A_NORMAL this is what is considered the normal attribute
for text output; initialized to 7.
A_REVERSE this is what is considered the reverse attribute
for text output; initialized to 0x70.
/***********************************************************************
Using the library
/***********************************************************************
I am assuming that if you have gotten this far, you have a basic
understanding of computer language libraries. I would like to mention
just two quick points.
1. You can use the turbo librarian to extract the modules, then add
them to the cs.lib library, so that you never have to include the
library in your project or make file.
2. You can add the TCCLIB.LIB library to your project file.
See the file DEMO.PRJ for an example of this.
/***********************************************************************
Summary of the Library
/***********************************************************************
If you like the flexibility of the printf and cprintf functions,
but want faster execution, these functions are for you. Several
of them allow variable parameters like printf and cprintf, but
they work much quicker. Lots of video functions here. Center
text, turn the cursor on and off, change attributes, etc.
There's a function here which lists certain files on a disk or
directory and allows the user to select one from the list.
There's a function which lets you browse through arrays of data,
performing various tasks with the items.
There's one that will find all the files on any disk that match
a given pattern, and let you perform any task you want with those
files.
There are functions that help you determine the display being used,
and even if the computer is an AT-class machine. You can turn the
caps lock, num lock, and scroll lock on or off.
There are functions to draw boxes and horizontal and vertical lines
using character graphics. They even know to draw crosses rather
than single lines at intersections.
There's a set of powerful functions to handle input of multiple
fields on the screen.
You can even set a timer and get the elapsed time since it was
started.